import type { IRouteInfoResp } from '../types'
import { http } from '@/http/http'

/**
 * 获取用户路由信息
 * @returns 用户路由信息
 */
export function getRouteApi() {
  return http<IRouteInfoResp>({
    url: '/auth/user/route',
    method: 'GET',
  })
}
